package com.mall.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * jwt配置类
 * @author 勾新杰
 * @version 1.0
 * @date 2024/11/22 11:41
 */
@Component
@ConfigurationProperties(prefix = "mall.jwt")
@Data
public class JwtProperties {
    private String secretKey;
    private Long expireTime;
    private String tokenHeader;
}
